 function stab(id,obj,show){
    var lis=document.getElementById(id).childNodes;
	for (var i=0;i<lis.length;i++){
	   lis[i].className="";
	}
	obj.className="curr";
	for (i=1;i<4;i++){
	   document.getElementById(id+'-'+i).style.display="none";
	}
	document.getElementById(id+'-'+show).style.display="block";
 }
 function stab2(id,obj)
 {
	var lis=document.getElementById(id).childNodes;
	for (var i=0;i<lis.length;i++){
	   lis[i].className="";
	}
	obj.className="curr";
 }
 